package com.michale.common.properties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Michale
 * @apiNote Swagger配置信息
 */
@Data
@Component
@ConfigurationProperties(prefix = "swagger")
public class SwaggerProperties {

    @ApiModelProperty("是否开启swagger")
    private String enabled;

    @ApiModelProperty("请求前缀")
    private String pathMapping;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("网址")
    private String url;

    @ApiModelProperty("邮箱")
    private String email;
}
